package com.test.homework.day1.service.impl;

import com.test.homework.day1.dao.BillDao;
import com.test.homework.day1.pojo.Bill;
import com.test.homework.day1.service.BillService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class BillServiceImpl implements BillService {
    @Autowired
    private BillDao billDao;

    @Override
    public List<Bill> getAll() {
        return billDao.getAll();
    }
}
